package io.renren.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
@ApiModel(value = "管理员验证表单")
public class ManagerForm {
    @ApiModelProperty(value = "密码")
    @NotBlank(message="密码不能为空")
    private String password;

    @ApiModelProperty(value = "实验室编号")
    @NotBlank(message="实验室编号不能为空")
    private String num;

    @ApiModelProperty(value = "用户名")
    @NotBlank(message="用户名不能为空")
    private String name;
}
